cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(hello_world)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}")
#set(GSL_DIR "/home/shawnle/PROJECTs/GSL/")

find_package(GSL REQUIRED)

include_directories(${GSL_INCLUDE_DIRS})
link_directories(${GSL_LIBRARY_DIRS})
add_definitions(${GSL_DEFINITIONS})

add_executable(hello_world main.cpp)
target_link_libraries (hello_world ${GSL_LIBRARIES})

#install(TARGETS hello_world RUNTIME DESTINATION bin)
